package demo2;

public class Bird extends Animal implements IFly,IRun{
    public Bird(String name) {
        super(name);
    }
    public void eat() {
        System.out.println(this.name + "正在吃鸟粮.....");
    }
    public void fly() {
        System.out.println(this.name +  "正在展示老鹰抓小鸡式飞翔法...");
    }
    public void run() {
        System.out.println(this.name + "正在使用小鸟爪跑步.....");
    }
}
